<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>

<head>
  <!-- Meta, title, CSS, favicons, etc. -->
  <meta charset="utf-8">
  <title><?php echo ($title); ?></title>
  <meta name="author" content="AdminDesigns">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <!-- Theme CSS -->
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/assets/skin/default_skin/css/theme.css">
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/assets/admin-tools/admin-forms/css/admin-forms.css">

  <!-- Favicon -->
  <link rel="shortcut icon" href="assets/img/favicon.ico">
  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
   <!-- jQuery -->
  <script src="__PUBLIC__/Admin/vendor/jquery/jquery-1.11.1.min.js"></script>
  <script src="__PUBLIC__/Admin/vendor/jquery/jquery_ui/jquery-ui.min.js"></script>

</head>

<body>

  <!-- Start: 右侧样式选择工具条 -->
  <!--<div id="skin-toolbox">
    <div class="panel">
      <div class="panel-heading">
        <span class="panel-icon">
          <i class="fa fa-gear text-primary"></i>
        </span>
        <span class="panel-title"> Theme Options</span>
      </div>
      <div class="panel-body pn">
        <ul class="nav nav-list nav-list-sm pl15 pt10" role="tablist">
          <li class="active">
            <a href="#toolbox-header" role="tab" data-toggle="tab">Navbar</a>
          </li>
          <li>
            <a href="#toolbox-sidebar" role="tab" data-toggle="tab">Sidebar</a>
          </li>
          <li>
            <a href="#toolbox-settings" role="tab" data-toggle="tab">Misc</a>
          </li>
        </ul>
        <div class="tab-content p20 ptn pb15">
          <div role="tabpanel" class="tab-pane active" id="toolbox-header">
            <form id="toolbox-header-skin">
              <h4 class="mv20">Header Skins</h4>
              <div class="skin-toolbox-swatches">
                <div class="checkbox-custom checkbox-disabled fill mb5">
                  <input type="radio" name="headerSkin" id="headerSkin8" checked value="">
                  <label for="headerSkin8">Light</label>
                </div>
                <div class="checkbox-custom fill checkbox-primary mb5">
                  <input type="radio" name="headerSkin" id="headerSkin1" value="bg-primary">
                  <label for="headerSkin1">Primary</label>
                </div>
                <div class="checkbox-custom fill checkbox-info mb5">
                  <input type="radio" name="headerSkin" id="headerSkin3" value="bg-info">
                  <label for="headerSkin3">Info</label>
                </div>
                <div class="checkbox-custom fill checkbox-warning mb5">
                  <input type="radio" name="headerSkin" id="headerSkin4" value="bg-warning">
                  <label for="headerSkin4">Warning</label>
                </div>
                <div class="checkbox-custom fill checkbox-danger mb5">
                  <input type="radio" name="headerSkin" id="headerSkin5" value="bg-danger">
                  <label for="headerSkin5">Danger</label>
                </div>
                <div class="checkbox-custom fill checkbox-alert mb5">
                  <input type="radio" name="headerSkin" id="headerSkin6" value="bg-alert">
                  <label for="headerSkin6">Alert</label>
                </div>
                <div class="checkbox-custom fill checkbox-system mb5">
                  <input type="radio" name="headerSkin" id="headerSkin7" value="bg-system">
                  <label for="headerSkin7">System</label>
                </div>
                <div class="checkbox-custom fill checkbox-success mb5">
                  <input type="radio" name="headerSkin" id="headerSkin2" value="bg-success">
                  <label for="headerSkin2">Success</label>
                </div>
                <div class="checkbox-custom fill mb5">
                  <input type="radio" name="headerSkin" id="headerSkin9" value="bg-dark">
                  <label for="headerSkin9">Dark</label>
                </div>
              </div>
            </form>
          </div>
          <div role="tabpanel" class="tab-pane" id="toolbox-sidebar">
            <form id="toolbox-sidebar-skin">
              <h4 class="mv20">Sidebar Skins</h4>
              <div class="skin-toolbox-swatches">
                <div class="checkbox-custom fill mb5">
                  <input type="radio" name="sidebarSkin" checked id="sidebarSkin3" value="">
                  <label for="sidebarSkin3">Dark</label>
                </div>
                <div class="checkbox-custom fill checkbox-disabled mb5">
                  <input type="radio" name="sidebarSkin" id="sidebarSkin1" value="sidebar-light">
                  <label for="sidebarSkin1">Light</label>
                </div>
                <div class="checkbox-custom fill checkbox-light mb5">
                  <input type="radio" name="sidebarSkin" id="sidebarSkin2" value="sidebar-light light">
                  <label for="sidebarSkin2">Lighter</label>
                </div>
              </div>
            </form>
          </div>
          <div role="tabpanel" class="tab-pane" id="toolbox-settings">
            <form id="toolbox-settings-misc">
              <h4 class="mv20 mtn">Layout Options</h4>
              <div class="form-group">
                <div class="checkbox-custom fill mb5">
                  <input type="checkbox" checked="" id="header-option">
                  <label for="header-option">Fixed Header</label>
                </div>
              </div>
              <div class="form-group">
                <div class="checkbox-custom fill mb5">
                  <input type="checkbox" checked="" id="sidebar-option">
                  <label for="sidebar-option">Fixed Sidebar</label>
                </div>
              </div>
              <div class="form-group">
                <div class="checkbox-custom fill mb5">
                  <input type="checkbox" id="breadcrumb-option">
                  <label for="breadcrumb-option">Fixed Breadcrumbs</label>
                </div>
              </div>
              <div class="form-group">
                <div class="checkbox-custom fill mb5">
                  <input type="checkbox" id="breadcrumb-hidden">
                  <label for="breadcrumb-hidden">Hide Breadcrumbs</label>
                </div>
              </div>
              <h4 class="mv20">Layout Options</h4>
              <div class="form-group">
                <div class="radio-custom mb5">
                  <input type="radio" id="fullwidth-option" checked name="layout-option">
                  <label for="fullwidth-option">Fullwidth Layout</label>
                </div>
              </div>
              <div class="form-group mb20">
                <div class="radio-custom radio-disabled mb5">
                  <input type="radio" id="boxed-option" name="layout-option" disabled>
                  <label for="boxed-option">Boxed Layout
                    <b class="text-muted">(Coming Soon)</b>
                  </label>
                </div>
              </div>
            </form>
          </div>
        </div>
        <div class="form-group mn br-t p15">
          <a href="#" id="clearLocalStorage" class="btn btn-primary btn-block pb10 pt10">Clear LocalStorage</a>
        </div>
      </div>
    </div>
  </div> -->
  <!-- End: 右侧样式选择工具条 -->
  <!-- Start: 主内容 -->
  <div id="main">
    <!-- Start: 头部 -->
       <header class="navbar navbar-fixed-top navbar-shadow">
      <div class="navbar-branding">
        <a class="navbar-brand" href="<?php echo U('Index/index');?>">
          <b>汉纳官网后台管理</b>
        </a>
        <span id="toggle_sidemenu_l" class="ad ad-lines"></span>
      </div>
   
     
      <ul class="nav navbar-nav navbar-right">
				<!--<li>
					<div class="navbar-btn btn-group">
	          <a href="#" class="topbar-menu-toggle btn btn-sm" data-toggle="button">
		          <span class="ad ad-wand"></span>
	          </a>
	        </div>
				</li>-->
       <li class="dropdown menu-merge">
          <div class="navbar-btn ">
            <a target="_blank" href="/"  class="btn btn-sm btn-hover btn-alert" >网站首页</a>
          </div>
        </li>
        <li class="menu-divider hidden-xs">
          <i class="fa fa-circle"></i>
        </li>
        <li class="dropdown menu-merge">
          <a href="#" class="dropdown-toggle fw600 p15" data-toggle="dropdown">
          	<img src="__PUBLIC__/Admin/images/admin.jpg" alt="admin" class="mw30 br64">
          	<span class="hidden-xs pl15">管理员</span>
            <span class="caret caret-tp hidden-xs"></span>
          </a>
          <ul class="dropdown-menu list-group dropdown-persist w250" role="menu">
           
            <li class="list-group-item">
              <a href="<?php echo U('Column/message');?>" class="animated animated-short fadeInUp">
                <span class="fa fa-envelope"></span>留言信息
                <!--<span class="label label-warning">2</span>-->
              </a>
            </li>
            <li class="list-group-item">
              <a href="<?php echo U('Login/password');?>" class="animated animated-short fadeInUp">
                <span class="fa fa-bell"></span>密码修改</a>
            </li>
            <!--<li class="list-group-item">
              <a href="#" class="animated animated-short fadeInUp">
                <span class="fa fa-gear"></span>信息设置</a>
            </li>-->
            <li class="dropdown-footer">
              <a href="<?php echo U('Login/loginout');?>" class="">
              <span class="fa fa-power-off pr5"></span>退出登录</a>
            </li>
          </ul>
        </li>
      </ul>
    </header>
    <!-- End: 头部结束 -->
    <!-- Start: 左侧工具栏 -->
       <aside id="sidebar_left" class="nano nano-light affix">

      <!-- Start: Sidebar Left Content -->
      <div class="sidebar-left-content nano-content">

        <!-- Start: Sidebar Header -->
        <header class="sidebar-header">

          <!-- Sidebar Widget - Author -->
          <div class="sidebar-widget author-widget">
            <div class="media">
              <a class="media-left" href="#">
                <img src="__PUBLIC__/Admin/images/admin.jpg" class="img-responsive">
              </a>
              <div class="media-body">
              <!-- 
                <div class="media-links">
                   <a href="#" class="sidebar-menu-toggle">欢迎使用-</a> <a href="#">退出</a>
                </div>
              -->
                <div class="media-author">Admin</div>
              </div>
            </div>
          </div>

          <!-- Sidebar Widget - Menu (slidedown) -->
        <!--  <div class="sidebar-widget menu-widget">
            <div class="row text-center mbn">
              <div class="col-xs-4">
                <a href="dashboard.html" class="text-primary" data-toggle="tooltip" data-placement="top" title="Dashboard">
                  <span class="glyphicon glyphicon-home"></span>
                </a>
              </div>
              <div class="col-xs-4">
                <a href="pages_messages.html" class="text-info" data-toggle="tooltip" data-placement="top" title="Messages">
                  <span class="glyphicon glyphicon-inbox"></span>
                </a>
              </div>
              <div class="col-xs-4">
                <a href="pages_profile.html" class="text-alert" data-toggle="tooltip" data-placement="top" title="Tasks">
                  <span class="glyphicon glyphicon-bell"></span>
                </a>
              </div>
              <div class="col-xs-4">
                <a href="pages_timeline.html" class="text-system" data-toggle="tooltip" data-placement="top" title="Activity">
                  <span class="fa fa-desktop"></span>
                </a>
              </div>
              <div class="col-xs-4">
                <a href="pages_profile.html" class="text-danger" data-toggle="tooltip" data-placement="top" title="Settings">
                  <span class="fa fa-gears"></span>
                </a>
              </div>
              <div class="col-xs-4">
                <a href="pages_gallery.html" class="text-warning" data-toggle="tooltip" data-placement="top" title="Cron Jobs">
                  <span class="fa fa-flask"></span>
                </a>
              </div>
            </div>
          </div> -->

          <!-- Sidebar Widget - Search (hidden) -->
          <div class="sidebar-widget search-widget hidden">
            <div class="input-group">
              <span class="input-group-addon">
                <i class="fa fa-search"></i>
              </span>
              <input type="text" id="sidebar-search" class="form-control" placeholder="Search...">
            </div>
          </div>

        </header>
        <!-- End: Sidebar Header -->

        <!-- Start: Sidebar Menu -->
        <ul class="nav sidebar-menu">
          <li class="sidebar-label pt20"> 操作菜单 </li>
         
<?php  foreach($leftmenu as $k => $v){ ?>
          <li>
        
        <?php  if(count($v['next']) > 0){ ?>

            <a class="accordion-toggle  <?php if($v['controller'] == $controller_name){ echo 'menu-open';} ?> " href="#">
              <span class="<?php echo ($v['icon']); ?>"></span>
              <span class="sidebar-title"> <?php echo ($v['title']); ?> </span>
              <span class="caret"></span>
            </a>


            <ul class="nav sub-nav">
            <?php  foreach($v['next'] as $ks => $vs ){ ?>
              <li <?php if($vs['action'] == $action_name){ echo 'class= "active"';} ?> >
                <a href="<?php echo ($vs['url']); ?>">
                  <span class="glyphicon <?php echo ($vs['icon']); ?>"></span> <?php echo ($vs['title']); ?> </a>
              </li>
            <?php } ?>
            </ul>
          <?php }else{ ?>

            <a href="<?php echo ($v['url']); ?>">
              <span class="<?php echo ($v['icon']); ?>"></span>
              <span class="sidebar-title"> <?php echo ($v['title']); ?> </span>
            </a>


          <?php  } ?>
          </li>
      <?php } ?>
 
        </ul>
        <!-- End: Sidebar Left Menu -->

	      <!-- Start: Sidebar Collapse Button -->
	      <div class="sidebar-toggle-mini">
	        <a href="#">
	          <span class="fa fa-sign-out"></span>
	        </a>
	      </div>
	      <!-- End: Sidebar Collapse Button -->

      </div>
      <!-- End: Sidebar Left Content -->
    </aside>
    <!-- End: 左侧工具栏结束-->
    <!-- Start: Content-Wrapper -->
    <section id="content_wrapper">

      <!-- End: Topbar -->
      <!-- Start: Topbar-Dropdown -->
      <div id="topbar-dropmenu" class="alt">
        <div class="topbar-menu row">
          <div class="col-xs-4 col-sm-2">
            <a href="#" class="metro-tile bg-primary light">
              <span class="glyphicon glyphicon-inbox text-muted"></span>
              <span class="metro-title">Messages</span>
            </a>
          </div>
          <div class="col-xs-4 col-sm-2">
            <a href="#" class="metro-tile bg-info light">
              <span class="glyphicon glyphicon-user text-muted"></span>
              <span class="metro-title">Users</span>
            </a>
          </div>
          <div class="col-xs-4 col-sm-2">
            <a href="#" class="metro-tile bg-success light">
              <span class="glyphicon glyphicon-headphones text-muted"></span>
              <span class="metro-title">Support</span>
            </a>
          </div>
          <div class="col-xs-4 col-sm-2">
            <a href="#" class="metro-tile bg-system light">
              <span class="glyphicon glyphicon-facetime-video text-muted"></span>
              <span class="metro-title">Videos</span>
            </a>
          </div>
          <div class="col-xs-4 col-sm-2">
            <a href="#" class="metro-tile bg-warning light">
              <span class="fa fa-gears text-muted"></span>
              <span class="metro-title">Settings</span>
            </a>
          </div>
          <div class="col-xs-4 col-sm-2">
            <a href="#" class="metro-tile bg-alert light">
              <span class="glyphicon glyphicon-picture text-muted"></span>
              <span class="metro-title">Pictures</span>
            </a>
          </div>
        </div>
      </div>
      <!-- End: Topbar-Dropdown -->

 <!--<header id="topbar" class="alt">
        <div class="topbar-left">
          <ol class="breadcrumb">
            <li class="crumb-active">
              <a href="dashboard.html">Dashboard</a>
            </li>
            <li class="crumb-icon">
              <a href="dashboard.html">
                <span class="glyphicon glyphicon-home"></span>
              </a>
            </li>
            <li class="crumb-link">
              <a href="index.html">Home</a>
            </li>
            <li class="crumb-trail">Dashboard</li>
          </ol>
        </div>
        <div class="topbar-right">
          <div class="ib topbar-dropdown">
            <label for="topbar-multiple" class="control-label pr10 fs11 text-muted">Reporting Period</label>
            <select id="topbar-multiple" class="hidden">
              <optgroup label="Filter By:">
                <option value="1-1">Last 30 Days</option>
                <option value="1-2" selected="selected">Last 60 Days</option>
                <option value="1-3">Last Year</option>
              </optgroup>
            </select>
          </div>
          <div class="ml15 ib va-m" id="toggle_sidemenu_r">
            <a href="#" class="pl5">
              <i class="fa fa-sign-in fs22 text-primary"></i>
              <span class="badge badge-hero badge-danger">3</span>
            </a>
          </div>
        </div>
</header>-->
      <!-- Begin: Content -->
      

<div id="content">


 <!-- <h1>您想要做些什么：</h1>
 <hr class="short alt">
  <div id="topbar-dropmenu" class="alt topbar-menu-open" style="display: block; background-color: #EEEEEE;">
        <div class="topbar-menu row " >
          <div class="col-xs-4 col-sm-3">
            <a href="<?php echo U('System/site');?>" class="metro-tile bg-alert light">
              <span class="glyphicon glyphicon-leaf text-muted"></span>
              <span class="metro-title">系统信息设置</span>
            </a>
          </div>
          <div class="col-xs-4 col-sm-3">
            <a href="<?php echo U('Column/message');?>" class="metro-tile bg-alert light">
              <span class="glyphicon glyphicon-comment text-muted"></span>
              <span class="metro-title text-center">留言信息</span>
            </a>
          </div>
          <div class="col-xs-4 col-sm-3">
            <a href="<?php echo U('Column/index');?>" class="metro-tile bg-alert light">
              <span class="glyphicon glyphicon-tasks text-muted"></span>
              <span class="metro-title">栏目信息</span>
            </a>
          </div>
          <div class="col-xs-4 col-sm-3">
            <a href="<?php echo U('Model/index');?>" class="metro-tile bg-alert light">
              <span class="glyphicon glyphicon-cog text-muted"></span>
              <span class="metro-title">模型管理</span>
            </a>
          </div>
        </div>
  </div> -->
  <h1>系统信息：</h1>
  <hr class="short alt">
  <div class="row">
    <div class="col-xs-4" style="padding-left:5%; "><p class="lead">系统版本：<?php echo ($os); ?></p></div>
    <div class="col-xs-4" style="padding-left:5%; "><p class="lead">PHP版本：<?php echo ($phpversion); ?></p></div>
    <div class="col-xs-4" style="padding-left:5%; "><p class="lead">磁盘空间：<?php echo ($size); ?></p></div>
  </div>
  <div class="row">
    <div class="col-xs-12" style="padding-left:5%; "><p class="lead">运行环境：<?php echo ($yxos); ?></p></div>
  </div>

  <h1>作者信息：</h1>
  <hr class="short alt">
  <div class="row">
    <div class="col-xs-6" style="padding-left:5%; "><p class="lead">制作人：Wkein</p></div>
    <!-- 
    <div class="col-xs-6" style="padding-left:5%; "><p class="lead">QQ：470329589@QQ.COM</p></div>
     -->
  </div>

</div>
    <!-- End: Content -->
    <!-- Start: Right Sidebar -->
    <!-- End: Right Sidebar -->
  </div>
  <!-- End: Main -->

  <!-- BEGIN: PAGE SCRIPTS -->
  <!-- Theme Javascript -->
  <script src="__PUBLIC__/Admin/assets/js/utility/utility.js"></script>
  <script src="__PUBLIC__/Admin/assets/js/main.js"></script>
  <script src="__PUBLIC__/Admin/js/common.js"></script>
  <script type="text/javascript">
  jQuery(document).ready(function() {
    "use strict";
    // Init Theme Core    
    Core.init();
    // Init Demo JS    
    function iconHide(iconVal) {
      $(".tab-pane.active .icon-demo-list > li").hide(); // hide all icons
      $('.tab-pane.active .icon-demo-list > li > span[class*="' + iconVal + '"]').parent().show(); // matched icons
    }
    $("#icon-filter").keyup(function() {
      var iconVal = $.trim(this.value);
      if (iconVal === "") {
        return
      } else {
        iconHide(iconVal);
      }
    });
    $("#icon-tabs > li > a").on('click', function() {
      $("#icon-filter").val(''); // clear search value
      $(".icon-demo-list > li").show(); // show all icons on tab switch
    });

  });
  </script>
  
</body>

</html>